<div class="form-container">
<div class="validation-errors" id="validationErrors" style="display:none;"></div>
<div class="walk-register-buttons" style="float: left;">
<a href="<?php echo( base_url() ); ?>cmb/member/home/<?php echo( $urlKey ); ?>/" target="_self">Member Home</a>
</div>
<div class="walk-register-buttons" style="float: right;">
	<a href="<?php echo( base_url() ); ?>cmb/member/homepage_logout/"><img src="<?php echo( base_url() ); ?>assets/images/buttons/logout.gif" border="0" /></a>
</div>
<?php
	$this->load->model('proxies/Person_proxy');
	Includes::IncludeFile( Includes::$FORM );
	Includes::IncludeFile( Includes::$SPACER );
	
	Spacer::Render(0, 50);
	echo('<b>Member Reports</b>');
	echo('<hr />');
	
	echo('<p>');
	echo('<br/>');
	echo('<br/>');
	echo('<a href="'.base_url().'cmb/member_reports/members_report_process/'.$urlKey.'/" target="_blank">Membership Search</a>');
	echo('<br/>');
	echo('</p>');	

	if (in_array("board",$group))
	{
		echo('<p>');
		echo('<br/>');
		echo('<br/>');
		echo('<a href="'.base_url().'cmb/member_reports/management_dashboard_process/'.$urlKey.'/" target="_blank">Management Dashboard</a>');
		echo('<br/>');
		echo('</p>');			

		echo('<p>');
		echo('<br/>');
		echo('<br/>');
		echo('<a href="'.base_url().'cmb/member_reports/registered_households_summary_report/'.$urlKey.'/" target="_blank">Registered Households Summary</a>');
		echo('<br/>');
		echo('</p>');			

		echo('<p>');
		echo('<br/>');
		echo('<br/>');
		echo('<a href="'.base_url().'cmb/member_reports/registered_households_report_process/'.$urlKey.'/" target="_blank">Registered Households Search</a>');
		echo('<br/>');
		echo('</p>');			
/*
		echo('<p>');
		echo('<br/>');
		echo('<br/>');
		echo('<a href="'.base_url().'cmb/member_reports/banquet_report_process/'.$urlKey.'/" target="_blank">Annual Banquet Search</a>');
		echo('<br/>');
		echo('</p>');			
*/
	}

	if (in_array("balavihar",$group))
	{
		echo('<p>');
		echo('<br/>');
		echo('<br/>');
		echo('<a href="'.base_url().'cmb/member_reports/gen_reports_balavihar_home/'.$urlKey.'/" target="_self">Balavihar Reports</a>');
		echo('<br/>');
		echo('</p>');			
	}

	if (in_array("mahasamadhi",$group))
	{
		echo('<p>');
		echo('<br/>');
		echo('<br/>');
		echo('<a href="'.base_url().'cmb/member_reports/gen_reports_mahasamadhi_home/'.$urlKey .'/" target="_self">Mahasamadhi Reports</a>');
		echo('<br/>');
		echo('</p>');
	}
/*
	if ($this->Person_proxy->isPersonGroupRole( $personId, "spiritual", "admin" ))
	{
		echo('<p>');
		echo('<br/>');
		echo('<br/>');
		echo('<a href="'.base_url().'cmb/member_reports/swamivisits_report_process/'.$urlKey.'/" target="_blank">Swami Visits Search</a>');
		echo('<br/>');
		echo('</p>');					
	}

	if ((in_array("banquet",$group)) and (!in_array("board",$group)))
	{
		echo('<p>');
		echo('<br/>');
		echo('<br/>');
		echo('<a href="'.base_url().'cmb/member_reports/banquet_report_process/'.$urlKey.'/" target="_blank">Annual Banquet Search</a>');
		echo('<br/>');
		echo('</p>');			
	}
*/	
?>
<!--   <p>
        <br/>
        <br/>
		<a href="<?php echo( base_url() ); ?>cmb/member_reports/members_report_process/<?php echo( $urlKey ); ?>/" target="_blank">Membership Search</a>
        <br/>
   </p> -->

   <div class="clear">
    </div>
</div>
